Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt the "onAlloyIteraction" and "canUpgrade" methods to subclasses of "ITier" #8252

Open
wants to merge 1 commit into
base: 1.21.x
Choose a base branch
from

Conversation

lostmyself8
Copy link

Changes proposed in this pull request:

1.When adding extra alloys, the "AlloyTier" accepted by "onAlloyIteraction" is too limited. It would be better to replace it with a subclass of "ITier", at least I don't have to do repetitive work.
2.I modified the parameters in 'canUpgrade' to also adapt to subclasses of 'ITier', reducing unnecessary forced conversions.
3.Please forgive me for using a translator.
Thank you for everything you have done for mek.

@lostmyself8 lostmyself8 changed the title Adapt the "onAlloyIteraction" and "canUpgrade" methods to ITier Adapt the "onAlloyIteraction" and "canUpgrade" methods to subclasses of "ITier" Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant